package com.kashow.bean.albums;

import com.kashow.bean.BaseBean;

import java.util.List;

/**
 * Created by yybs on 16/11/3.
 */

public class AlbumsDetailBean extends BaseBean {

    /**
     * _id : 3
     * teacher : 937
     * cover : http://oh2ucnq1s.bkt.clouddn.com/42402524e7d4489fab34f786b5868bb3
     * title : 专栏3
     * fee : 1
     * updatedAt : 2017-03-03T03:02:29.277Z
     * createdAt : 2017-03-03T03:02:29.277Z
     * deleted : false
     * total : 100
     * current : 5
     * subscriptionCount : 662
     * __v : 0
     * desc : 这是前面的描述
     * imgDescs : [{"desc":"这是只有文字的描述"},{"desc":"这是图片的描述1","img":"http://oh2ucnq1s.bkt.clouddn.com/42402524e7d4489fab34f786b5868bb3"},{"img":"http://oh2ucnq1s.bkt.clouddn.com/42402524e7d4489fab34f786b5868bb3"}]
     * subhead : 已更新5期，总共100期
     */

    private int _id;
    private int teacher;
    private String title;
    private int fee;
    private String updatedAt;
    private String createdAt;
    private boolean deleted;
    private int total;
    private int current;
    private String desc;
    private String subhead;

    private List<ImgDescsEntity> imgDescs;
    /**
     * cover : http://oh2ucnq1s.bkt.clouddn.com/42402524e7d4489fab34f786b5868bb3
     */

    private String cover;
    /**
     * hasBuyed : false
     */

    private boolean hasBuyed;

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public int getTeacher() {
        return teacher;
    }

    public void setTeacher(int teacher) {
        this.teacher = teacher;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getFee() {
        return fee;
    }

    public void setFee(int fee) {
        this.fee = fee;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }


    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getSubhead() {
        return subhead;
    }

    public void setSubhead(String subhead) {
        this.subhead = subhead;
    }

    public List<ImgDescsEntity> getImgDescs() {
        return imgDescs;
    }

    public void setImgDescs(List<ImgDescsEntity> imgDescs) {
        this.imgDescs = imgDescs;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public boolean isHasBuyed() {
        return hasBuyed;
    }

    public void setHasBuyed(boolean hasBuyed) {
        this.hasBuyed = hasBuyed;
    }

    public static class ImgDescsEntity {
        /**
         * desc : 这是只有文字的描述
         * img : http://oh2ucnq1s.bkt.clouddn.com/42402524e7d4489fab34f786b5868bb3
         */

        private String desc;
        private String img;

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }
    }
}
